package com.wanghang89.gmail.util;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

public class BDCSContext {
	
	private final static ApplicationContext CONTEXT = new FileSystemXmlApplicationContext("src/ApplicationContext.xml");
	

	public static Object getBean(String name)
	{
		return CONTEXT.getBean(name);
	}
}
